﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace App20._5
{
    /// <summary>
    /// Window8.xaml 的交互逻辑
    /// </summary>
    public partial class Window8 : Window
    {
        public Window8()
        {
            InitializeComponent();
        }

        private void tcBDMng_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (tbCWBody.IsSelected == true)
            {
                Page p = new Page1();
                frmJSJG.NavigationService.Navigate(p);
            }

            if (tbTGCJGSJ.IsSelected == true)
            {
                Page p = new Page2();
                frmTGCJGSJ.NavigationService.Navigate(p);
            }
        }
    }
}
